<?php /* Smarty version 2.6.19, created on 2008-09-21 16:25:21
         compiled from ./admin/users-list.tpl */ ?>
<a href="./user.php?f=add&id=0">add a new user</a>
<div class="admin-right">
	<table class="olt">
        <tr><td>ID</td><td>Title</td><td align="right" nowrap="nowrap">&nbsp;&nbsp;&nbsp;&nbsp;Gender</td><td align="right">add time</td><td align="right">usefull</td><td align="right">opertor</td></tr>
        <?php unset($this->_sections['user']);
$this->_sections['user']['name'] = 'user';
$this->_sections['user']['loop'] = is_array($_loop=$this->_tpl_vars['users_list']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['user']['show'] = true;
$this->_sections['user']['max'] = $this->_sections['user']['loop'];
$this->_sections['user']['step'] = 1;
$this->_sections['user']['start'] = $this->_sections['user']['step'] > 0 ? 0 : $this->_sections['user']['loop']-1;
if ($this->_sections['user']['show']) {
    $this->_sections['user']['total'] = $this->_sections['user']['loop'];
    if ($this->_sections['user']['total'] == 0)
        $this->_sections['user']['show'] = false;
} else
    $this->_sections['user']['total'] = 0;
if ($this->_sections['user']['show']):

            for ($this->_sections['user']['index'] = $this->_sections['user']['start'], $this->_sections['user']['iteration'] = 1;
                 $this->_sections['user']['iteration'] <= $this->_sections['user']['total'];
                 $this->_sections['user']['index'] += $this->_sections['user']['step'], $this->_sections['user']['iteration']++):
$this->_sections['user']['rownum'] = $this->_sections['user']['iteration'];
$this->_sections['user']['index_prev'] = $this->_sections['user']['index'] - $this->_sections['user']['step'];
$this->_sections['user']['index_next'] = $this->_sections['user']['index'] + $this->_sections['user']['step'];
$this->_sections['user']['first']      = ($this->_sections['user']['iteration'] == 1);
$this->_sections['user']['last']       = ($this->_sections['user']['iteration'] == $this->_sections['user']['total']);
?>
        <tr class="pl">
	        <td><?php echo $this->_tpl_vars['users_list'][$this->_sections['user']['index']]['id']; ?>
</td>
	        <td><a href="./user.php?id=<?php echo $this->_tpl_vars['users_list'][$this->_sections['user']['index']]['id']; ?>
"> <?php echo $this->_tpl_vars['users_list'][$this->_sections['user']['index']]['user_name']; ?>
</a></td>
	        <td/><?php echo $this->_tpl_vars['users_list'][$this->_sections['user']['index']]['gender']; ?>
</td>
	        
	        <td  align="right" nowrap="nowrap">&nbsp;&nbsp;&nbsp;&nbsp;<?php echo $this->_tpl_vars['users_list'][$this->_sections['user']['index']]['date_added']; ?>
</td>
	        <td  align="right" nowrap="nowrap">&nbsp;&nbsp;&nbsp;&nbsp;<?php echo $this->_tpl_vars['users_list'][$this->_sections['user']['index']]['valid']; ?>
</td>
	        <td  align="right" nowrap="nowrap">&nbsp;&nbsp;&nbsp;&nbsp;<a href='user.php?f=delete&id=<?php echo $this->_tpl_vars['users_list'][$this->_sections['user']['index']]['id']; ?>
' title="delete me">X</a>&nbsp;<a href='user.php?f=modify&id=<?php echo $this->_tpl_vars['users_list'][$this->_sections['user']['index']]['id']; ?>
' title="modify me">modify</a></td>
        </tr>
        <?php endfor; endif; ?>
        </table>

</div>